package sanrenxing.dayEnd.backRepertoryTotal.domain;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 功能：证券应收应付的实体类
 * 作者：赵思睿
 * 日期：2021/3/18 0018-9:48
 * 版本：1.0
 */
public class ReceivableAndPayable implements Serializable {
    //证券应收应付编号
    private String srapId;
    //业务日期
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date businDate;
    //现金账户编号
    private String caId;
    //证券编号
    private String seId;
    //业务类型
    private String businType;
    //资金流向
    private int capflow;
    //金额
    private double money;
    //基金编号
    private String fundId;
    private int states; //统计状态 0：未统计，1：已统计

    /**
     * 默认构造方法
     */
    public ReceivableAndPayable() {
    }
    /**
     * 带参构造方法
     * @param srapId 证券应收应付编号
     * @param businDate 业务日期
     * @param caId 现金账户编号
     * @param seId 证券编号
     * @param businType 业务类型
     * @param capflow 资金流向
     * @param money 金额
     * @param fundId 基金编号
     */
    public ReceivableAndPayable(String srapId, Date businDate, String caId, String seId, String businType, int capflow, double money, String fundId, int states) {
        this.srapId = srapId;
        this.businDate = businDate;
        this.caId = caId;
        this.seId = seId;
        this.businType = businType;
        this.capflow = capflow;
        this.money = money;
        this.fundId = fundId;
        this.states = states;
    }


    public String getSrapId() {
        return srapId;
    }

    public void setSrapId(String srapId) {
        this.srapId = srapId;
    }

    public int getStates() {
        return states;
    }

    public void setStates(int states) {
        this.states = states;
    }

    public Date getBusinDate() {
        return businDate;
    }

    public void setBusinDate(Date businDate) {
        this.businDate = businDate;
    }

    public String getCaId() {
        return caId;
    }

    public void setCaId(String caId) {
        this.caId = caId;
    }

    public String getSeId() {
        return seId;
    }

    public void setSeId(String seId) {
        this.seId = seId;
    }

    public String getBusinType() {
        return businType;
    }

    public void setBusinType(String businType) {
        this.businType = businType;
    }

    public int getCapflow() {
        return capflow;
    }

    public void setCapflow(int capflow) {
        this.capflow = capflow;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public String getFundId() {
        return fundId;
    }

    public void setFundId(String fundId) {
        this.fundId = fundId;
    }
}
